gtkplacessidebar: Fix new tab/window handling for cloud accounts
authorCarlos Soriano <csoriano@gnome.org>
Mon, 30 Oct 2017 20:47:07 +0000 (21:47 +0100)
committerCarlos Soriano <csoriano@gnome.org>
Mon, 13 Nov 2017 15:57:02 +0000 (16:57 +0100)
commit1b1cb8295b680772ce1eb17e8584fcab93ef5388
tree5aebf7fada209d850fd27e71f14013aec0e4e202
parentf54e7712c53f914dc1bd04b7ebaaef30dc2ce86c
gtkplacessidebar: Fix new tab/window handling for cloud accounts

It wasn't taking into account whether the sidebar had support for them
or not, resulting in a file chooser with open in new tab/window menu
items when it's not supported.

To fix it, do as with the other menus and check for the availability of
new tab/window flags.

https://bugzilla.gnome.org/show_bug.cgi?id=786123
gtk/gtkplacessidebar.c